package com.sumainfor.wx.tenant.fallback.ZfallBack;

import com.google.common.collect.Maps;
import com.sumainfor.common.util.JsonResult;
import com.sumainfor.wx.tenant.feign.Zfeign.ZzuulFeign;
import org.springframework.stereotype.Component;

import java.util.List;
import java.util.Map;

/**
 * 功能描述:调用网关服务
 */
@Component
public class ZuulFeignFallback implements ZzuulFeign {
    @Override
    public JsonResult getSysArea(Map<String,Object> params) {

        return JsonResult.error("服务器繁忙.");
    }

    @Override
    public JsonResult getSystemUser(Map<String,Object> params){
        return JsonResult.error("服务器繁忙...");
    }

}

